#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
int main()
{
	Stack s1;
	StackInit(&s1);
	StackPush(&s1, 11);
	StackPush(&s1, 22);
	StackPush(&s1, 33);
	StackPush(&s1, 44);
	StackPush(&s1, 55);
	StackPush(&s1, 66);
	StackPush(&s1, 77);
	StackPush(&s1, 88);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	printf("%d ", StackTop(&s1));
	printf("%d\n", StackSize(&s1));
	StackPop(&s1);
	StackDestroy(&s1);
	return 0;
}